<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>Database Performance Dashboard</title>
<script src="js/jquery-1.2.3.pack.js"></script>
<script src="js/runonload.js"></script>
<script src="js/tutorial.js"></script>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
</head>
<?php
	date_default_timezone_set("Asia/Singapore");
?> 
<!-- include all library files here -->
<?php require_once "./bootstrap.php"; ?>
<!-- get performance data -->
<?php
	if(!isset($_SESSION['user']) || $_SESSION['user']==NULL)
		header('Location: index.php');
	
?>
<body>
	<div id="container">
	<!-- Start of Page Header -->
		<div id="page_header">
			<div id="company_name">
				<h1><span>Oracle Database Performance Dashboard</span></h1>
			</div>
		</div>
		<div id="page_menu">
			<ul>
				<li class="home"><a href="./index.php" title="Home"><span>Home</span></a></li>
				<li class="monitor"><a href="./firstlevel.php" title="First Level of Parameters Monitor"><span>Monitor</span></a></li>
				<li class="debug"><a href="./debug.php" title="Debug Interface"><span>Debug</span></a></li>
				<li class="settings"><a href="./settings.php" title="Settings"><span>Settings</span></a></li>
				<li class="aboutus"><a href="./aboutUs.php" title="About Us"><span>About Us</span></a></li>
			</ul>
		</div>
		<div id="logout"><a href="./logout.php">logout</a></div>
		<div id="main_content">
			<div class="content_header">
				<h2><span>Debug panel</span></h2>
			</div>
			<div class="content_box_right">
			<div class="content_box_left">
			<div class="content_box">
			<div id="main_content_border">
				<div class="topmasters">
					<p>Enter SQL Command:</p>
					<p>
					<form method="post" action="">
					<div id="sql_textbox">
						<textarea name="sql_command" id="sql_command" rows=6 cols=70></textarea>
						<label class="error" for="name" id="sql_error">The field cannot be empty.</label>
					</div>
					<div id="sql_button">
						<input type="submit" value="Submit" class="button"/>
					</div>
					</form>
					</p>
					<p>
					<div class="sql_result">
					</div>
					</p>
					<p />&nbsp;<br />
				</div>
  
              <!-- End of Top Masters Listing 1 -->
  
			</div>
			</div>
			</div>
			</div>
  
		</div>
  
      <!-- End of Main Content -->
  
  
      <div class="clearthis">&nbsp;</div>
  
  
      <!-- Start of Page Footer -->
  
      <div id="page_footer">
      Design by <a href="aboutUs.php">CS5226 Group</a>
      </div>
  
  </div>
  
  </body>
  </html>